<li class="list-group-item px-0">
    <div class="row align-items-center">
        <div class="col-auto">
            <a href="#!" class="avatar avatar-lg">
                {{--通过activity对象调用causer方法可以获取当前活动日志对象中的用户对象,然后调用用户对象中的avatar进行判断如果当前用户没有图像信息就使用--}}
                <img src="{{$activity->causer->avatar}}" class="avatar-img rounded">
            </a>
        </div>
        <div class="col ml--2">
            <h4 class="card-title mb-1 name">
                <a href="{{route('user.space.home',$activity->causer)}}">
                    {{$activity->causer->name}}
                </a>
                发表了贴子
                <a href="{{$activity->subject->link()}}">
                    {{$activity->subject->title}}
                </a>
                <a href="">
                </a>
            </h4>
            <p class="card-text small text-muted mb-1">
                {{$activity->causer->name}}
            </p>
            <p class="card-text small text-muted">
                <span class="fe fe-clock mr-1"></span> {{$activity->updated_at}}
                <span class="fe fe-clock mr-1"></span> 0
            </p>
        </div>
    </div>
</li>